﻿using Microsoft.EntityFrameworkCore;
using TaskTodo.Todos;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace TaskTodo.EntityFrameworkCore
{
    [ConnectionStringName(TaskTodoDbProperties.ConnectionStringName)]
    public interface ITaskTodoDbContext : IEfCoreDbContext
    {
        /* Add DbSet for each Aggregate Root here. Example:
         * DbSet<Question> Questions { get; }
         */
        DbSet<Todo> Todos { get; set; }
    }
}